﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace WZ.WebSpider
{
    public interface IWebSpider<T>
    {
        string Code { get; set; }
        string Url { get; }
        Encoding ContextEncoding { get; }
        Regex regex { get; }
        List<T> GetWebData(string urlParam);
        bool Save(T t);
        int DepIndex { get; }
    }
}
